body {
  background-color: #f0f0f0;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

h1 {
  color: #333;
  margin-top: 50px;
  text-align: center;
}

input[type="text"] {
  border-radius: 5px;
  border: 1px solid #ccc;
  display: block;
  font-size: 16px;
  margin: 20px auto;
  padding: 10px;
  width: 300px;
}

ul {
  list-style: none;
  margin: 0;
  margin: 20px auto;
  padding: 0;
  width: 300px;
}

li {
  align-items: center;
  background-color: #fff;
  border-radius: 5px;
  border: 1px solid #ccc;
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 10px;
}

li:last-child {
  margin-bottom: 0;
}
li span {
  flex-grow: 1;
  margin-right: 10px;
}

input[type="checkbox"] {
  margin-right: 10px;
}

.completed {
  color: #888;
  text-decoration: line-through;
}

button {
  background-color: #f00;
  border-radius: 5px;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  padding: 5px 10px;
}

button:hover {
  background-color: #d00;
}
